// 后台管理模块路由配置
// import Layout from '@/views/layout'
import Layout from "@/layout";
export default {
  path: "/backstage",
  name: "base",
  component: Layout,
  meta: { title: "后台管理", icon: "user" },
  children: [
    {
      name: "base-users",
      path: "/backstage/user",
      component: () => import("@/views/backstage/user"),
      meta: { title: "用户管理", icon: "table" },
    },
    {
      name: "base-menus",
      path: "/backstage/menu",
      component: () => import("@/views/backstage/menu"),
      meta: { title: "菜单管理", icon: "table" },
    },
    {
      name: "base-permissions",
      path: "/backstage/permission",
      component: () => import("@/views/backstage/permission"),
      meta: { title: "权限管理", icon: "table" },
    },
    {
      name: "base-logs",
      path: "/backstage/log",
      component: () => import("@/views/backstage/log"),
      meta: { title: "日志管理", icon: "table" },
    },
  ],
};
